<?php

namespace App\ModelFilters;


class PaymentFilter extends BaseFilter
{
    /**
     * Related Models that have ModelFilters as well as the method on the ModelFilter
     * As [relationMethod => [input_key1, input_key2]].
     *
     * @var array
     */
    public $relations = [];




    public function user_id($value)
    {
        return $this->where('user_id', $value);
    }
    public function status($value)
    {
        return $this->where('status', $value);
    }
    public function payment_name($value)
    {
        return $this->where('payment_name', 'LIKE', "%$value%");
    }
}
